import Vue from 'vue'
import Vuex from 'vuex'
import carts from './carts'
import user from './user'

Vue.use(Vuex)

const store = new Vuex.Store({
	state: {
		msg: '你好'
	},
	modules: {
		carts,
		user
	}
})

export default store
